package main

import (
	"fmt"
	"os"
)

func main() {
	str1,str2,str3:=fmt.Sprint("string1 "),fmt.Sprintf("string%d ",2),fmt.Sprintln("string3 ")
    fmt.Print(str1)
    fmt.Printf("%s",str2)
    fmt.Println(str3)
    fmt.Fprint(os.Stdout,str1)
    fmt.Fprintf(os.Stdout,"%s",str2)
    fmt.Fprintln(os.Stdout,str3)
}
